#ifndef RENAMING_H
#define RENAMING_H

#include <global_variable.h>
#include <QMainWindow>
#include <QWidget>
#include "softkeyboard.h"
class Renaming : public QMainWindow
{
    Q_OBJECT
public:
    explicit Renaming(QWidget *parent = 0);
    bool eventFilter(QObject *watched, QEvent *event);
    void ui_Label_Init();
    void ui_Combox_Init();
    void ui_Btn_Init();
    void connect_Init();
    void ui_renew_Init();
    void rename(QString text);
    int pos=0;
    int totalBtn =8;
    int Label_Num =5;
    QTimer  *timer;
    QTimer  *timer2;

    QPushButton *theBtn[8];
    QLabel *theLabel[16];
    QList <QPushButton * >btnlist_ui;
signals:
    void sendText(QString text);//以信号的形式将输入文本发出去

public slots:
};

#endif // RENAMING_H
